package com.drinkdelivery.front.service;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface AuthService {

    /**
     * 微信登录小程序授权登录
     *
     * @param openid
     * @return
     */
    Map<String, Object> wechatRoutineLogin(String openid);

    /**
     * 用户登出
     *
     * @param request
     * @return
     */
    Map<String, Object> wechatRoutineLogout(HttpServletRequest request);
}
